package com.springcloud.consumer.feign;

import org.springframework.stereotype.Service;

/**
 * hystrix服务降级处理，防止因超时、异常等导致的服务调用雪崩
 */
@Service
public class HelloFeignFallbackService implements HelloFeign{

    @Override
    public String provider(String name, Long time) {
        return "provider hystrix";
    }
}
